<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2020/4/7
 * Time: 23:57
 */

namespace app\common\validate;


use think\Validate;

class Search extends Validate
{
    protected  $rule = [
        'title|标题' => 'require',
        'tags|标签' => 'require',

    ];

    //添加基地场景验证
    public function sceneAdd(){
        return $this->only(['title']);
    }


}